<template>
    <div class="cdialogBtn" :style="'background:' + props.color">
        {{ props.title }}
    </div>
</template>

<script setup lang="ts">
const props = defineProps({
    title: {
        type: String,
        default: () => ''
    },
    color: {
        type: String,
        default: () => '#2050AD'
    }
})
</script>

<style scoped lang="scss">
.cdialogBtn {
    padding: 7px 15px 7px 15px;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 4px;
}
</style>